package net.zjitc.service;

import net.zjitc.Product;
import net.zjitc.dao.ProductDao;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.jar.Attributes;


@Service("productService")
public class ProductServiceImpl implements ProductService{
    @Resource(name = "productDao")
    private ProductDao productDao;
    @Override
    public Product findAll() {
        return productDao.findAll();
    }
}
